/*
 * Copyright 2020 The Kubernetes Authors
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

$height: 3em;

@mixin KuiHeader {
  .kui--top-tab-stripe-header {
    @content;
  }
}

@mixin TopTabStripe {
  .kui--top-tab-stripe-header {
    @content;
  }
}
@mixin TopTabStripeAbsolute {
  body[kui-theme-style] {
    @include TopTabStripe {
      @content;
    }
  }
}

@mixin TopTabButtons {
  .kui--top-tab-buttons {
    @content;
  }
}

@mixin TopTabStripeTabOverflowButton {
  .pf-c-nav__scroll-button {
    @content;
  }
}

@mixin TopTabStripe_Main {
  .kui--top-tab-stripe-header--main {
    @content;
  }
}
@mixin TopTabStripe_Content {
  .kui--top-tab-stripe-header--content {
    @content;
  }
}

@mixin TopTabStripe_ProductName {
  .kui--header--name {
    @content;
  }
}

@mixin TopTabs {
  .kui--header-tabs {
    @content;
  }
}

@mixin Tab {
  .kui--tab-list > .kui--tab {
    @content;
  }
}
@mixin TopTabStripe_Tab_Active {
  @include Tab {
    &.kui--tab--active {
      @content;
    }
  }
}

@mixin TopTabStripe_Tab_Label {
  a {
    @content;
  }
}

@mixin ActiveTab {
  .kui--tab--active {
    @content;
  }
}

@mixin HeaderNameContainer {
  .kui--top-tab-stripe-header--brand {
    @content;
  }
}
@mixin HeaderName {
  .kui--header--name {
    @content;
  }
}

@mixin TabLabel {
  .kui--tab--label {
    @content;
  }
}

@mixin TabClose {
  .kui--tab-close {
    @content;
  }
}
